{include file="public/header" /}
<body style="background-color: #f1f1f1;">
<div class="index_html houtai">

	{include file="public/second_header" /}


	<!-- 地下内容的开始 -->
	<div class="backgroud_content ">
		<!-- 左侧的开始 -->

		{include file="public/nav" /}
		<!-- 左侧的结束 -->
			<!-- 右侧的开始 -->
			<div class="right_bar jianchajilu add_menber_html yonghubianji">
				{include file="public/go_back" /}

				<div class="jcjl_detail">
					<div class="top_dec">
						<div>
							<span class="theme">成员信息</span>
							<!-- <em><a href="">新建患者</a></em> -->
						</div>
					</div>
					<form action="" class="horizontal" method="post" role="form" >
						<input type="hidden" name="id" value="{$user_infos.id}">

					<div class="data">
						<div class="center">
							<!-- 顶上的   头像和 信息 开始 -->
							<div class="top">
								<div class="head_box">
									{if $user_infos['avatar']}
									<img src="{$user_infos['avatar']}" alt="">

									{else/}
									<img src="__STATIC__/index/imgs/ps_head.jpg" alt="">

									{/if}
								</div>
								<div class="people_msg">
									<ul>

                                        <li>
                                            <span>手机号:</span>
                                            <em>{$user_infos.phone}</em>
                                        </li>
										<li>
											<span>ID :</span>
											<em>{$user_infos.id}</em>
										</li>
										<li>
											<span>性别:</span>
											<em>
													
												<select name="sex" id="">

													<option value="1"{if condition="$user_infos.sex eq '1'"}selected{/if}>男</option>
													<option value="2"{if condition="$user_infos.sex eq '2'"}selected{/if}>女</option>
												</select>
											</em>
										</li>
                                        <li>
                                            <span>昵称:</span>
                                            <em>
                                                <input type="text" name="name" value="{$user_infos.name}">
                                            </em>
                                        </li>

									</ul>
								</div>
							</div>
							<!-- 顶上的 头像和信息结束 -->
							<!-- 下面的重置密码  开始-->
							<div class="right">
								
								<ul>
									<li>
										<span>重置密码：</span>
										<input type="text" name="password" value="">
									</li>

									<li class="off_or_on">
										<span>启用状态：</span>

										<em class="left" {if condition="isset($user_infos['is_deleted']) && $user_infos['is_deleted'] ==2 "}style="background-color: rgba(204, 204, 204, 0.8);"{/if}>
										<i {if condition="isset($user_infos['is_deleted']) && $user_infos['is_deleted'] ==2 "}style="float:right;"{/if}></i>
										</em>
										<input type="hidden" value="{$user_infos['is_deleted']}" name="is_deleted">
									</li>
								</ul>
							</div>
							<!-- 下面的重置密码  结束-->
						</div>
						<div class="save_or_no">
							<a  class="cirtain">
								<input type="button" class="ajax-post" value="确定">
							</a>
							{include file="public/cancel_list" /}
						</div>
					</div>
					</form>
				</div>
			</div>
			<!-- 右侧的结束 -->
		</div>
	</div>
{include file="public/footer" /}
<script>
    $(function(){
        var init = 0 ;
        $(".add_menber_html .jcjl_detail .data .right ul li.off_or_on em").click(function(){
            // 点击后再点击  会切换
            var click_btn = "off";
            if(init%2 == 0){
                $(".add_menber_html .jcjl_detail .data .right ul li.off_or_on i").css({"float":"right"});
                $("[name=is_deleted]").val(2);

                $(this).css('background-color','#cccc')

            }else{

                $(".add_menber_html .jcjl_detail .data .right ul li.off_or_on i").css({"float":"left"});
                $("[name=is_deleted]").val(1);
                $(this).css('background-color','#00a29a')
            }
            init++;
        })
    })
</script>
</html>
